// Copyright (C) ZHENG Zhong <heavyzheng nospam-at gmail D0T com>
//
// $Id: istring_test.cpp 226 2008-09-12 17:56:02Z heavyzheng $
//

#include <zzheng/utility/istring_test.hpp>
#include <zzheng/utility/istring.hpp>
#include <zzheng/test_logging.hpp>

#include <boost/test/unit_test.hpp>

namespace zzheng {
namespace test {

    void test_strcmp() {
        info("Running test case: test_strcmp");
        zzheng::istring str1 = "hello, world";
        BOOST_CHECK_EQUAL(str1, "HELLO, WORLD");
    }

    ////////////////////////////////////////////////////////////////////////////////////////////////

    void add_istring_test_cases(boost::unit_test::test_suite& suite) {
        suite.add( BOOST_TEST_CASE(&test_strcmp) );
    }

} // namespace zzheng::test
} // namespace zzheng




